package com.morty.base.consts;

/**
 * @title: LogConsts
 * @description:
 */
public class LogConsts {

    public final static int RESULT_SUCCESS = 200;

    public final static int RESULT_FAIL = 500;

    /**
     * 日志记录分割
     */
    public final static String RECORD_SPLIT = ":";


    /**
     * 请求开始日志记录标识
     */
    public final static String REQUEST_START = "REQUEST_START";

    /**
     * 请求时，记录请求参数转换错误
     */
    public final static String REQUEST_PARM_ERROR = "REQUEST_PARM_ERROR";

    /**
     * 请求报错，请求失败
     */
    public final static String REQUEST_ERROR = "REQUEST_ERROR";

    /**
     * 请求成功
     */
    public final static String REQUEST_SUCCESS = "REQUEST_SUCCESS";

    /**
     * 请求结束
     */
    public final static String REQUEST_END = "REQUEST_END";

    /**
     * 请求执行过程中
     */
    public final static String REQUEST_PROCESS = "REQUEST_PROCESS";


    /**
     * 请求异常
     */
    public final static String REQUEST_API_EXCEPTION = "REQUEST_API_EXCEPTION";
    public final static String REQUEST_RUNTIME_EXCEPTION = "REQUESTRUNTIMEEXCEPTION";
    public final static String REQUEST_EXCEPTION = "REQUESTEXCEPTION";


    public final static String FEIGN_REQUEST = "FEIGNREQUEST";
    public final static String FEIGN_STATUS = "FEIGN_STATUS";
    public final static String FEIGN_RESPONSE = "FEIGNRESPONSE";
    public final static String FEIGN_EXCEPTION = "FEIGNEXCEPTION";
}
